unit URelatorioMovimentoPorAutorizante;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, QRCtrls, QuickRpt, ExtCtrls;

type
  TFRelatorioMovimentoPorAutorizante = class(TForm)
    QuickRep1: TQuickRep;
    PageHeaderBand1: TQRBand;
    QRLabel1: TQRLabel;
    qrlEmpresa: TQRLabel;
    QRLabel3: TQRLabel;
    QRSysData1: TQRSysData;
    QRSysData2: TQRSysData;
    ColumnHeaderBand1: TQRBand;
    QRLabel2: TQRLabel;
    QRLabel4: TQRLabel;
    QRLabel5: TQRLabel;
    QRLabel7: TQRLabel;
    QRLabel10: TQRLabel;
    QRLabel11: TQRLabel;
    QRGroup1: TQRGroup;
    QRLabel12: TQRLabel;
    QRDBText1: TQRDBText;
    DetailBand1: TQRBand;
    qrbFooter: TQRBand;
    QRDBText2: TQRDBText;
    QRDBText3: TQRDBText;
    QRDBText4: TQRDBText;
    QRDBText6: TQRDBText;
    QRDBText7: TQRDBText;
    QRDBText9: TQRDBText;
    QRDBText10: TQRDBText;
    QRDBText11: TQRDBText;
    QRExpr1: TQRExpr;
    QRLabel13: TQRLabel;
    SummaryBand1: TQRBand;
    QRLabel14: TQRLabel;
    QRExpr2: TQRExpr;
    QRLabel9: TQRLabel;
    QRDBText5: TQRDBText;
    QRLabel6: TQRLabel;
    procedure qrlEmpresaPrint(sender: TObject; var Value: String);
    procedure DetailBand1BeforePrint(Sender: TQRCustomBand;
      var PrintBand: Boolean);
    procedure QRDBText1Print(sender: TObject; var Value: String);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FRelatorioMovimentoPorAutorizante: TFRelatorioMovimentoPorAutorizante;

implementation

uses UPesquisaMovimentoPorAutorizante, UGeral;

{$R *.dfm}

procedure TFRelatorioMovimentoPorAutorizante.qrlEmpresaPrint(
  sender: TObject; var Value: String);
begin
  value := nomeEmpresa;
end;

procedure TFRelatorioMovimentoPorAutorizante.DetailBand1BeforePrint(
  Sender: TQRCustomBand; var PrintBand: Boolean);
begin
  if FPesquisaMovimentoPorAutorizante.Checklinhaguia.Checked then
    TQRCustomBand(sender).Frame.DrawBottom := true;
end;

procedure TFRelatorioMovimentoPorAutorizante.QRDBText1Print(
  sender: TObject; var Value: String);
begin
  value := UpperCase(value);
end;

end.
